export const suppplierDataConfig = {
    fields: [
        {
            label: 'ID',
            width: 65,
            prop:'id',
            align: 'center',
          },
          {
            label: '名称',
            align: 'center',
            prop: 'name',
            minWidth: 120
          },
          {
            label: '库房位置',
            align: 'center',
            prop: 'address',
            minWidth: 160
          },
          {
            label: '备注',
            align: 'center',
            prop: 'remark',
            minWidth: 160
          },
          {
            label: '添加时间',
            align: 'center',
            prop: 'create_time',
            minWidth: 160
          },
      ],
      dialogForm: {
        name: '',
        address: '',
        remark: '',
        qq: '',
        deposit: '0.00',
        id: 0
      },
      dialogFields: [
        {
          label: '供应商名称',
          prop: 'name',
          placeholder: '请输入供应商名称'
        },
        {
          label: 'qq号',
          prop: 'qq',
          placeholder: '请输入供应商qq号'
        },
        {
          label: '预留款',
          prop: 'deposit',
          placeholder: ''
        },
        {
          label: '库房位置',
          prop: 'address',
          placeholder: '请输入库房位置'
        },
        {
            label: '备注',
            prop: 'remark',
            type: 'textarea',
            placeholder: '请输入库房位置'
          }
      ],
      dialogFormRules: {
        name: [
          { required: true, message: '供应商名称不能为空', trigger: 'blur' }
        ],
        address: [
          { required: true, message: '库房位置不能为空', trigger: 'blur' }
        ]

      },
}